<div class="span-15 prepend-1">
	<% if comments.blank? -%>
  	<p>还没人留言</p>
	<% end -%>

	<% comments.each do |comment| -%>
	<hr />
	<div class="span-2">
		<%= avatar_for comment.user, "large" %>
	</div>
	<div class="span-13 last">		
		<div class="span-11">
			<h4 class="comment_label">
				<%= link_to comment.user_login, user_path(comment.user_id) %> <span class="tip"><%= show_date comment.created_at %></span> 给 <%= link_to comment.school_title, school_url(comment.school_id) %> 留言
			</h4>
		</div>
		<div class="span-2 last">
			<% if comment.editable_by?(current_user) -%>
			<span class="comment_label">
				<%= link_to "修改", school_edit_comment_path(comment.school_id, comment) %>
				<%= link_to "删除", school_comment_path(comment.school_id, comment), :method => 'delete', :confirm => "您确定要删除么？" %>
			</span>
			<% end -%>
		</div>
		<div class="span-13"><%= comment.content_html %></div>
	</div>
	<% end -%>
</div>
